package com.gxa.saas.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 订单实体类
 * @author Administrator
 */
@NoArgsConstructor
@Data
@AllArgsConstructor
@ApiModel
public class Order {

    @ApiModelProperty(name = "id",value = "编号",dataType = "int",required = true)
    private Integer id;
    @ApiModelProperty(name = "sellType",value = "销售类型",dataType = "string",required = true)
    private String sellType;
    @ApiModelProperty(name = "money",value = "金额合计",dataType = "string",required = true)
    private Double money;
    @ApiModelProperty(name = "createTime",value = "创建时间",dataType = "date",required = true)
//    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",timezone = "GMT+8")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(name = "orderType",value = "订单类型",dataType = "date",required = true)

    private String orderType;
    @ApiModelProperty(name = "clientType",value = "客户类型",dataType = "date",required = true)
    private String clientType;
    @ApiModelProperty(name = "clientName",value = "客户名称",dataType = "date",required = true)
    private String clientName;
    @ApiModelProperty(name = "salesman",value = "业务员",dataType = "date",required = true)
    private String salesman;
    @ApiModelProperty(name = "wareHouse",value = "出库仓库",dataType = "date",required = true)
    private String wareHouse;
    @ApiModelProperty(name = "car",value = "派送车",dataType = "date",required = true)
    private String car;
    @ApiModelProperty(name = "paymentTypes",value = "支付类型",dataType = "date",required = true)
    private String paymentTypes;

}
